package com.xiaohudie.entity;

public class Father {
    private String name;
    private String age;
/*    public Integer id;*/

    public Father(String name, String age) {
        this.name = name;
        this.age = age;

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }



    @Override
    public String toString() {
        return "Father{" +
                "name='" + name + '\'' +
                ", age='" + age + '\'' +

                '}';
    }
    public void move(){
        System.out.println("父亲在工作");
    }
}
